package com.pet.platform.dto;

import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Future;
import java.time.LocalDateTime;

@Data
public class AppointmentDTO {
    private Long id;
    
    @NotNull(message = "服务ID不能为空")
    private Long serviceId;
    
    private String serviceName;
    
    @NotNull(message = "宠物ID不能为空")
    private Long petId;
    
    private String petName;
    
    private Long userId;
    private String username;
    
    @NotNull(message = "预约时间不能为空")
    @Future(message = "预约时间必须是将来时间")
    private LocalDateTime appointmentTime;
    
    private String status;
    private String remark;
} 